package stupidMineralCollector;

/**
 * Created by rudolpst on 06.03.14.
 */
public class Constants {

	private static Constants instance;

	// TODO: Set the values
	private double diffusionRate = 0.6;
	private double pheromoneOutput = 35.0;
	private double evaporationRate = 0.005;
	private double minPheromoneLevel = 0.5;
	private double maxPheromoneLevel = 2.1;

	private Constants() {

	}

	public static Constants getInstance() {

		if (instance == null) {
			instance = new Constants();
		}
		return instance;
	}

	public double getDiffusionRate() {
		return diffusionRate;
	}

	public double getPheromoneOutput() {
		return pheromoneOutput;
	}

	public double getEvaporationRate() {
		return evaporationRate;
	}

	public double getMinPheromoneLevel() {
		return minPheromoneLevel;
	}

	public double getMaxPheromoneLevel() {
		return maxPheromoneLevel;
	}
	
	public void setDiffusionRate(double diffusionRate) {
		this.diffusionRate = diffusionRate;
	}

	public void setPheromoneOutput(double pheromoneOutput) {
		this.pheromoneOutput = pheromoneOutput;
	}

	public void setEvaporationRate(double evaporationRate) {
		this.evaporationRate = evaporationRate;
	}

	public void setMinPheromoneLevel(double minPheromoneLevel) {
		this.minPheromoneLevel = minPheromoneLevel;
	}

	public void setMaxPheromoneLevel(double maxPheromoneLevel) {
		this.maxPheromoneLevel = maxPheromoneLevel;
	}
}
